f = open("./lyric.txt",mode="r")
text = f.read().split()
word = set(text)
result = {}
for i in word:
    result[i]=text.count(i)
for i in result:
    print(i,result[i],sep='\t')
